
#include "../../global/global.h"
#include "../serial.h"


extern struct StSerialFD g_serialFD;

int main(int argc,char *argv[])
{

	globalInit();
	
	g_serialFD.st_serial0=-1;
	g_serialFD.st_serial0=openPort(1,B9600,8,1,'N');
	if(-1==g_serialFD.st_serial0)
	{
		ERROROUT("open ttyS1 failed!");
		return -1;
	}

	return 0;
}





